<template>
  <!--
      	作者：luoyiming
      	时间：2019-12-25
      	描述：广告
      -->
  <div class="user">
    <div class="common-seach-wrap">
      <el-tabs v-model="activeName">
        <el-tab-pane label="广告管理" name="ad">
          <Ad v-if="activeName=='ad'"></Ad>
        </el-tab-pane>
        <el-tab-pane label="分类管理" name="category">
          <Category v-if="activeName=='category'"></Category>
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
  import Ad from './ad/index.vue';
  import Category from './category/Index.vue';
  export default {
    components: {
      Ad,
      Category,
    },
    data() {
      return {
        activeName: 'ad',
        /*是否加载完成*/
        loading: true,
      }
    },
    created() {


    },
    methods: {}
  }
</script>
